package com.pand.model.customer;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @Title: BizCustomerAuth.java
 * @Package com.woasis.entity
 * @Description:客户审核表
 * @author zzw
 * @date 2015-9-13 13:57:51
 * @version V1.0
 */
@Entity
@Table(name = "BIZ_CUSTOMER_AUTH")
@SequenceGenerator(name = "seqBizCustomerAuth", sequenceName = "SEQ_BIZ_CUSTOMER_AUTH", allocationSize = 1)
public class BizCustomerAuth implements Serializable {

	/**
	 * @Fields serialVersionUID :
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	private Long id;

	/**
	 * 客户ID
	 */
	private Long customerId;

	/**
	 * 审核状态
	 */
	private Boolean isCheck;

	/**
	 * 审核时间
	 */
	private Date checkTime;

	/**
	 * 审核人
	 */
	private String checker;

	/**
	 * 备注
	 */
	private String remark;

	@Id
	@GeneratedValue(generator = "seqBizCustomerAuth")
	@Column(name = "ID", nullable = false, precision = 20, scale = 0)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "CUSTOMER_ID", nullable = false, precision = 20, scale = 0)
	public Long getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	@Column(name = "IS_CHECK")
	public Boolean getIsCheck() {
		return this.isCheck;
	}

	public void setIsCheck(Boolean isCheck) {
		this.isCheck = isCheck;
	}

	@Column(name = "CHECK_TIME")
	public Date getCheckTime() {
		return this.checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	@Column(name = "CHECKER", length = 20)
	public String getChecker() {
		return this.checker;
	}

	public void setChecker(String checker) {
		this.checker = checker;
	}

	@Column(name = "REMARK", length = 200)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
